-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docker instructions #34
Conversation
@dbeatty10 can you link me to the PR for the change in core? and is it ok that we don't currently call out that this example only works for dbt-core>=1.3.0 |
Here is the PR that added this to Core 1.3.
On one handIt's probably okay since this is explicitly intended as a demo project rather than a project template. Following the readme instructions will automatically get dbt-core 1.3 because of this line. On the otherIf we don't mind the extra text, we could also call out this minimum version in the README somewhere. But the README already feels way too long to me currently -- I'd love to reduce the amount of text dramatically to something more like this. Optionally, we could further support a minimum version of 1.3.0 via require-dbt-version |
@dbeatty10 Happy to review a PR if you revamp the README for conciseness and cleaner formatting! |
Thank you @sungchun12 -- created an issue here, and I'll request you as a reviewer if/when I take a swing at a revamp 👍 |
ok got it! I was hoping this would show up in the docs, but perhaps addressing dbt-labs/docs.getdbt.com#2024 is part of the official 1.3 release milestone? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎯 |
Resolves #33
Overview
profiles.yml
viaDBT_PROFILES_DIR
no longer neededprofiles.yml
viaDBT_PROFILES_DIR
As of dbt Core 1.3, setting the
DBT_PROFILES_DIR
environment variable is no longer necessary:jaffle_shop_duckdb/Dockerfile
Line 14 in 8574cf7
Documentation
Also, made some slight updates to the instructions for running Docker with VSCode locally.
Validation
These changes can be validated by:
dbt debug
and noting that it is looking for profiles in the intended directory (and connecting successfully)dbt build